﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<EPiServer.Models.ListData>" %>
<div class="pageList"> 
    <h2><%= Model.Title %></h2> 
    <ul> 
	<%foreach(var item in Model.List) { %>
		<li> 
			<h3> 
				<a title="Read more" href="<%= item.LinkURL %>"><%= item.PageName %></a> 
			</h3> 
			<div> 
			    <%= EPiServer.Html.GetPreview(item, 50) %>
			</div> 
		</li> 
    <% } %>
    </ul> 
</div> 